package com.cis.teacher.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/person")
public class PersonController {

    private String prefix = "/person";

    @GetMapping("/information")
    public String information(){
        return prefix + "/information";
    }

    @PostMapping("/password")
    public String password(){
        return prefix + "/password";
    }
}
